import request from "./request";

export const testApi = () => {
  return request({
    url: "/test/index",
  });
}

export const openIdGet = (data) => {
  return request({
    url: "/wxapp/openId",
    data,
    notLoading: true,
  });
}

export const userInfoUpdate = (data) => {
  return request({
    url: "/wxapp/userInfo/update",
    data,
    method: 'post',
    notLoading: true,
  });
}